package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 电梯责任组日志
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_elevator_principal_dept_log")
public class ElevatorPrincipalDeptLog extends TenantEntity {
    /**
     * 电梯id
     */
    @TableField(value = "elevator_id")
    private Long elevatorId;

    /**
     * 初始关系id
     */
    @TableField(value = "init_id")
    private String initId;

    /**
     * 结束关系id
     */
    @TableField(value = "end_id")
    private String endId;

    /**
     * 初始关系名称
     */
    @TableField(value = "init_name")
    private String initName;

    /**
     * 结束关系名称
     */
    @TableField(value = "end_name")
    private String endName;

    /**
     * 对应电梯关联部门类型
     */
    @TableField(value = "`type`")
    private Integer type;
}